package com.cskaoyan.service.admin;

import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.admin.topic.ShowTopicInfo;

import java.util.List;

/**
 * @author by yxy_8175@163.com
 * @Description TODO
 * @Date 2022-11-20 14:55
 */
public interface TopicService {

    CommonData<MarketTopic> selectByPage(BasePageInfo info, String title, String subtitle);

    MarketTopic createTopic(MarketTopic topic);

    MarketTopic updateTopicInfo(MarketTopic topic);

    ShowTopicInfo selectTopicById(Integer id);

    int deleteTopic(MarketTopic topic);

    void deleteTopicMultiple(Integer[] ids);

    CommonData<MarketTopic> queryRelatedList(Integer id,BasePageInfo pageInfo);
}
